Skip to content

Add tests for named arguments anywhere in constant #2892

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 16, 2022

Conversation

srawlins
Copy link
Member

@srawlins srawlins commented Jan 12, 2022

These tests involve a new paradigm: using test_descriptor to fill out a directory tree.

The named-arguments-anywhere experiment requires an SDK of 2.17 or greater, so in order to run the test suite with 2.15, we cannot bump the testing/test_package_experiments pubspec to 2.17, because then that SDK could not pub get.

test_descriptor allows us to use real files (and so pub get and tools, etc still work) but store all of a test's logic in one place, rather than in testing/.

@srawlins srawlins requested a review from scheglov January 16, 2022 16:12
@srawlins srawlins merged commit 66e11fd into dart-lang:master Jan 16, 2022
@srawlins srawlins deleted the named-arguments-anywhere branch January 16, 2022 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants